package com.quick.develop.business.convert;

import com.quick.develop.business.entity.LawsRegulationsEntity;
import com.quick.develop.business.vo.LawsRegulationsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 法律法规
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface LawsRegulationsConvert {
    LawsRegulationsConvert INSTANCE = Mappers.getMapper(LawsRegulationsConvert.class);

    LawsRegulationsEntity convert(LawsRegulationsVO vo);

    LawsRegulationsVO convert(LawsRegulationsEntity entity);

    List<LawsRegulationsVO> convertList(List<LawsRegulationsEntity> list);

}